package cn.edu.glut.user.service;

import java.util.Collection;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.edu.glut.entity.Teacher;
import cn.edu.glut.vo.TeacherToAdminVO;

public interface TeacherService {

	int save(Teacher t);

	void save(Collection<Teacher> studentList);

	void deleteAll();

	void delete(String id);

	int update(Teacher s);

	Teacher findById(String id);

	Page<TeacherToAdminVO> list(Pageable pageable);

	TeacherToAdminVO findTeacherToAdminVOByUsername(String username);

	Page<TeacherToAdminVO> list(Pageable pageable, String studentId);

}
